package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.AdminTeacher;
import com.ruoyi.system.domain.SysUser;

/**
 * 教师Service接口
 * 
 * @author ruoyi
 * @date 2020-06-09
 */
public interface IAdminTeacherService 
{
    /**
     * 查询教师
     * 
     * @param teacherId 教师ID
     * @return 教师
     */
    public AdminTeacher selectAdminTeacherById(Long teacherId);

    /**
     * 查询教师列表
     * 
     * @param adminTeacher 教师
     * @return 教师集合
     */
    public List<AdminTeacher> selectAdminTeacherList(AdminTeacher adminTeacher);

    /**
     * 新增教师
     * 
     * @param adminTeacher 教师
     * @return 结果
     */
    public int insertAdminTeacher(AdminTeacher adminTeacher);

    /**
     * 修改教师
     * 
     * @param adminTeacher 教师
     * @return 结果
     */
    public int updateAdminTeacher(AdminTeacher adminTeacher);

    /**
     * 批量删除教师
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteAdminTeacherByIds(String ids);

    /**
     * 删除教师信息
     * 
     * @param teacherId 教师ID
     * @return 结果
     */
    public int deleteAdminTeacherById(Long teacherId);
    
    /**
     * 教师状态修改
     * 
     * @param adminTeacher 教师信息
     * @return 结果
     */
    public int changeStatus(AdminTeacher adminTeacher);

    /**
     * 新增老师和用户表
     * @param adminTeacher
     * @param sysUser
     * @return
     */
    public int insertAdminTeacherAndUser (AdminTeacher adminTeacher, SysUser sysUser);
}
